{extend name='admin@main'}
{block name="content"}
<div class="think-box-shadow">
    {include file='users/relation_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class="text-left nowrap">用户信息</th>
            <th class="text-left nowrap">级别</th>
            <!-- <th class="text-left nowrap">推广情况</th> -->
            <th class="text-left nowrap">注册时间</th>
        </tr>
        </thead>
        <tbody>
        {foreach $list as $key=>$vo}
        <tr>
            <td class='text-left nowrap'>
                用户名：{$vo.username|default='--'}<br>
                <!-- 直接上级：{$vo.top|default='--'} -->
            </td>
            <td class='text-left nowrap'>
                {$vo.depth|default='--'}级
            </td>
            <!-- <td class='text-left nowrap'>

            </td> -->
            <td class='text-left nowrap'>
                注册时间：{$vo.time}<br>
            </td>
        </tr>
        {/foreach}
        {/notempty}
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}
